<script type="text/javascript">
	$(function () {
		var pg = App.wechat.msgTypeDelFailed.ui , 
		pp = pg.params, 
		gd = pg.seek('grid');
	
		pg.seek('close').click(function () {
			pg.close();
		});
		
		gd.mac('grid', {
			key : 'id',
			cols : [{
				field: 'id', title : '计划编号', width: 190,
			}, {
				field: 'name', title : '名称', width: 330,
			}],
			autoHeight : true
		}).loadData(pp.list, pp);
});
</script>
<div class="form">
	<div class="item">
		<span>该要素已经被如下积分计划使用，如需删除，请先移除计划中相关规则后重试。</span>
		<div class="clear"></div>
	</div>
	<div class="item">
		<div name="grid" class="grid"></div>
		<div class="clear"></div>
	</div>
	<div class="bottom">
		<button name="close" type="button" class="btn radius btn-info btn-sm">确定</button>
	</div>
</div>
